//
// Created by Administrator on 2020/10/15.
//

#include "../include/uemApi.h"
#include "ueFsm.h"

int32_t RAN_L3_UEM_Init(void)
{
    int32_t rc;

    rc = RAN_L3_UE_SM_Init();
    IF_RETURN(!=, O5G_RC_OK, rc, O5G_RC_ER, "RAN_L3_UEM_Init() RAN_L3_UE_SM_Init() error!\n");

    return O5G_RC_OK;
}

int32_t RAN_L3_UEM_Final(void)
{
    int32_t rc;

    rc = RAN_L3_UE_SM_Final();
    IF_RETURN(!=, O5G_RC_OK, rc, O5G_RC_ER, "RAN_L3_UEM_Final() RAN_L3_UE_SM_Final() error!\n");

    return O5G_RC_OK;
}

void RAN_L3_UEM_IndProcess(S_OsSelectInd *pIndMsg)
{
    switch (pIndMsg->ind)
    {
    case RAN_L3_INTRA_IND_MSG_UE_FSM_EVT:
        RAN_L3_UE_SM_IndProcess(pIndMsg);
        break;
    default:
        break;
    }
}

void RAN_L3_UEM_MsgProcess(void)
{

}

void RAN_L3_UEM_PrdProcess(void)
{

}
